package net.cyue.homework.student.management.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

public class UserRegisterDTO {
    @NotNull
    @NotBlank
    private String username;
    @NotNull
    @NotBlank
    private String password;
    private String email;
    @NotNull
    @NotBlank
    private String code;
    
    public UserRegisterDTO() {}
    
    
	public UserRegisterDTO(
		String username,
		String password,
		String email,
		String code
	) {
		super();
		this.username = username;
		this.password = password;
		this.email = email;
		this.code = code;
	}


	public String getUsername() {
		return this.username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return this.password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return this.email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getCode() {
		return this.code;
	}
	public void setCode(String code) {
		this.code = code;
	}
    
    
}

